import { stringify } from 'qs';
import { reqJson } from './requestWithToken';
import domain from '@/utils/domain';

export default async function queryDashboardData(params) {
  const url = `${domain.user}/usercenter/admin/dashboard?${stringify(params)}`;
  return reqJson.get(url);
}
